/**
 * 接口列表
 */

export const API = {
    // 登录
    login: '/api-uaa/oauth/wxmpcode/ums/token',
	loginWithPwd: '/api-uaa/oauth/user/ums/token',
	updatePhone: '/api-member/ums/UmsMember/updatePhoneByWxData',
	getUserDetail: '/api-member/ums/UmsMember/getMemberDetail',
	getMembersByIds: '/api-member/ums/UmsMember/getMembersByIds',
	getQCode: '/api-uaa/oauth/wxmp/qrcode',//获取小程序码图片
	getRemainServiceTimes: '/api-member/memberservicetimes/getRemainServiceTimes',
	getVipCards: '/api-goods/pms/PmsProductVipCard/app/allList',
	getVipCardDetail: '/api-goods/pms/PmsProductVipCard/getDetailByLevel',
	addToCart: '/api-order/auth/addCart',//添加商品到我的购物车
	genOrder: '/api-order/auth/genOrderForCardProd', //提交订单
	getOrders: '/api-order/auth/order/list', //订单列表
	getOrderDetail: '/api-order/auth/detail',//获取订单详情
	genOrderPayInfo: '/api-order/pay/wx/genPayOrderInfo', //获取微信支付信息
	queryOrderStatus: '/api-order/pay/wx/getOrderStatus',
	getTickets: '/api-member/umsticket/getTickets',//券包列表
	getTicketDetail: '/api-member/umsticket',//券包详情
	getShops: '/api-user/sys/sysStore/list',//门店列表,
	getServiceList: '/api-user/sys/sysStore/getServerList',//获取大于等于指定等级的商家服务列表
	getAllServiceList: '/api-user/sys/sysStore/getAllServiceList',//获取所有商家列表
	getGoodsByIds: '/api-goods/pms/PmsProduct/getProductsByIds',//商品列表
	getGroupGoods: '/api-sms/group/notAuth/list',//获取拼团列表
	getGoodsDetail: '/api-goods/pms/PmsProductTicket',//获取商品详情
	getCurrGroupMembers: '/api-sms/auth/getCurrGroupMembers',//获取正在进行的拼团列表
	cancelGroupMember: '/api-sms/auth/cancelGroupMember',//取消拼团
	group: '/api-sms/notAuth/acceptGroup', //发起拼团和参与拼团
	getGroupDetail: '/api-sms/marking/SmsGroup',//获取拼团商品详情
	getGroupMemberDetail: '/api-sms/marking/SmsGroupMember',//获取拼团详情
	getGroupMember: '/api-sms/auth/getGroupMember',//获取我正在参与的拼团
	getServiceCategorys: '/api-user/servicecategory/list',//获取服务分类
	getServiceCount: '/api-user/sys/sysStore/getServerCount',//获取商家数量
	getServiceRecommends: '/api-user/sysservicerecommend/app/list',//获取推荐的商家
	getStoreDetail: '/api-user/sys/sysStore/app',//获取门店详情
	getBalanceDetail: '/api-member/ums/UmsMemberBlanceLog/app/list', //获取收支明细
	applyDeposit: '/api-trade/fmsmemberdeposit/app/applyDeposit', //申请提现
	getBannerList: '/api-user/sysbanner/app/list',// 获取banner图列表
	getBannerDetail: '/api-user/sysbanner/app',// 获取banner详情
	upload: '/api-file/files-anon',//文件上传
	commitAuth: '/api-member/umsmemberauth/save',//提交实名认证信息
	getAuth: '/api-member/umsmemberauth/getCurrAuth',//获取实名信息
	queryAuth: '/api-member/umsmemberauthaudit/app/queryAuditProgress',//查询实名认证进度
}

export const APIs_NOT_AUTH = [
	API.login,
	API.loginWithPwd,
	API.getShops,
	API.getServiceList,
	API.getAllServiceList,
	API.getGoodsByIds,
	API.getGroupGoods,
	API.getGoodsDetail,
	API.getCurrGroupMembers,
	API.getGroupDetail,
	API.getServiceCategorys,
	API.getServiceCount,
	API.getServiceRecommends,
	API.getStoreDetail,
	API.getGroupMemberDetail,
	API.getVipCards,
	API.getBannerList,
	API.getBannerDetail
]

export const APIs_STATIC_DATA = [
]